package com.tang.model.bridge.message;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/8/29 21:22
 * @Desc
 * @Remarks
 */
public class UrgentSender extends AbstractSender {
    public UrgentSender(IMessage iMessage) {
        super(iMessage);
    }

    @Override
    //    普通的消息
    public void sendMessage(String msg, String toUser) {
        msg = "[紧急消息]" + msg;
        iMessage.send(msg, toUser);
    }
}
